<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2023/6/21
 * Time: 10:48
 */

namespace app\index\controller;
use app\index\model\CrmCustomerCode;

class Custom extends Base
{
    public function index(){
        $query = input();
        $query['limit'] = isset($query['limit'])?$query['limit']:10;
        $query['page'] = isset($query['page'])?$query['page']:1;
        $CustomerCodeM = new CrmCustomerCode();
        $res = $CustomerCodeM->code($query);
        apiReturn(200,'ok',$res);
    }
}